package com.jiaai.system.api;

import com.jiaai.exception.ServerException;
import com.jiaai.system.model.PayManagerVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * TODO
 * </p>
 *
 * @author 佳爱网络科技
 * @version V1.0
 * @title IPayManageAPI
 * @since 2017/11/14
 */
public interface IPayManageAPI {
    List<Map<String,Object>>  findByAll() throws ServerException;

    List<Map<String,Object>> findByStatusByAll(int status)throws ServerException;

    void  delById(Integer id)throws ServerException;

    Object getAll(Integer curr);

    void saveOrEdit(PayManagerVO payManagerVO);

    void delete(Integer id);

    /**
     * app获取充值比例, 和支付配置
     * @return
     */
    Object getAppList();

    PayManagerVO getOne(Integer id);
}
